@extends('admin.layout')
@section('content')
    <div class="content-wrapper" style="min-height: 916px;">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>订单管理
                <small>添加</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 后台</a></li>
                <li><a href="#">订单管理</a></li>
                <li class="active">添加</li>
            </ol>

        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
                <div class="col-md-12">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">添加轮播图</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form action="{{url('admin/scrolled/update')}}" method="post" enctype="multipart/form-data">
                            {{csrf_field()}}
                            <input type="hidden" name="id" value="{{$_GET['id']}}"/>
                            <div class="box-body">

                                <div class="form-group">
                                    <label>状态组</label>
                                    <select class="form-control" name="status">
                                        <option value="1">1</option>
                                        <option value="2">2</option>
                                        <option value="3">3</option>
                                        <option value="4">4</option>
                                        <option value="5">5</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputFile">选择图片</label>
                                    <input type="file" id="exampleInputFile" name="image">
                                    <p class="help-block">选择合适格式的图片作为轮播图</p>
                                </div>

                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button class="btn btn-primary" type="submit">提交</button>
                            </div>
                        </form>
                    </div><!-- /.box -->

                </div>
            </div>   <!-- /.row -->
        </section><!-- /.content -->
    </div>

@endsection